package com.huacai.blog.domain;

import com.huacai.common.annotation.Excel;
import lombok.*;
import com.huacai.common.core.domain.BaseEntity;

/**
 * 博客对象 blog
 *
 * @author lundao
 * @date 2025-09-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Blog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 博客ID */
    private String blogId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summary;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 观看量 */
    @Excel(name = "观看量")
    private Integer views;

    /** 创建人用户ID */
    @Excel(name = "创建人用户ID")
    private Integer userId;

    //创建人
    @Excel(name = "创建人")
    private String nickName;

    //点赞数
    private int blogLikeCount;

    private int collectCount;

    private int commentCount;
}